config.h.in, configure.in, configure: Add test for sleep.
# Requires CLASSPATH be exported to include full path to saxon.jar.
# (typically /usr/share/java on a Linux system.)
readme.html: readme.xml
- java com.icl.saxon.StyleSheet $< \
- /usr/share/sgml/docbook/xsl-stylesheets/xhtml/docbook.xsl \
- html.stylesheet="http://www.gpsbabel.org/style3.css" > $@ || rm $@
+ xsltproc --stringparam html.stylesheet \
+ "http://www.gpsbabel.org/style3.css" \
+ http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl \
+ $< > $@ || rm $@
+# java com.icl.saxon.StyleSheet $< \
+# /usr/share/sgml/docbook/xsl-stylesheets/xhtml/docbook.xsl \
+# html.stylesheet="http://www.gpsbabel.org/style3.css" > $@ || rm $@
cp readme.html $(WEB)/readme.xhtml
tools/mkcapabilities
/* Define to 1 if you have the `nanosleep' function. */
#undef HAVE_NANOSLEEP
+/* Define to 1 if you have the `sleep' function. */
+#undef HAVE_SLEEP
+
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
# AC_FUNC_VPRINTF
# AC_CHECK_FUNCS([atexit floor localtime_r memmove memset pow select sqrt strchr strcspn strdup strerror strncasecmp strrchr strspn strstr strtol strtoul])
-for ac_func in nanosleep
+
+for ac_func in nanosleep sleep
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
# AC_FUNC_STRTOD
# AC_FUNC_VPRINTF
# AC_CHECK_FUNCS([atexit floor localtime_r memmove memset pow select sqrt strchr strcspn strdup strerror strncasecmp strrchr strspn strstr strtol strtoul])
-AC_CHECK_FUNCS(nanosleep)
+AC_CHECK_FUNCS([nanosleep sleep])
#AC_CONFIG_FILES([Makefile
# coldsync/Makefile
<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE book
- SYSTEM "/usr/share/sgml/docbook/xml-dtd-4.1.2-1.0-30/docbookx.dtd">
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<book>
<bookinfo>